package com.example.sms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sms.entity.Student;
import com.example.sms.entity.dto.LoginDTO;
import com.example.sms.entity.dto.RegisterDTO;
import org.springframework.transaction.annotation.Transactional;

@Transactional

public interface StudentService extends IService<Student> {
    Student login(LoginDTO student);
    Integer register(RegisterDTO student);

    Object listSelfCourse(Integer id);

}
